{"ast":null,"code":"export function getMotion(mode, motion, defaultMotions) {\n  if (motion) {\n    return motion;\n  }\n  if (defaultMotions) {\n    return defaultMotions[mode] || defaultMotions.other;\n  }\n  return undefined;\n}","map":{"version":3,"names":["getMotion","mode","motion","defaultMotions","other","undefined"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/rc-menu/es/utils/motionUtil.js"],"sourcesContent":["export function getMotion(mode, motion, defaultMotions) {\n  if (motion) {\n    return motion;\n  }\n\n  if (defaultMotions) {\n    return defaultMotions[mode] || defaultMotions.other;\n  }\n\n  return undefined;\n}"],"mappings":"AAAA,OAAO,SAASA,SAAS,CAACC,IAAI,EAAEC,MAAM,EAAEC,cAAc,EAAE;EACtD,IAAID,MAAM,EAAE;IACV,OAAOA,MAAM;EACf;EAEA,IAAIC,cAAc,EAAE;IAClB,OAAOA,cAAc,CAACF,IAAI,CAAC,IAAIE,cAAc,CAACC,KAAK;EACrD;EAEA,OAAOC,SAAS;AAClB"},"metadata":{},"sourceType":"module"}